Skip to content

feat: add microsoft teams cli support#20489

Open
hulh122 wants to merge 2 commits into
mainfrom
feat/teams-cli-support
Open

feat: add microsoft teams cli support#20489
hulh122 wants to merge 2 commits into
mainfrom
feat/teams-cli-support

Conversation

@hulh122

@hulh122 hulh122 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Microsoft Teams zero CLI commands for sending messages and uploading files
  • add Teams integration API contracts/routes and teams:write capability wiring
  • update Teams run system prompt to point agents at zero teams commands
  • add focused API/CLI tests and clean up unused exported platform types surfaced by knip

Tests

  • pnpm -C turbo -F api exec vitest run src/signals/routes/tests/zero-integrations-teams.test.ts src/signals/routes/tests/zero-teams-bot.test.ts
  • pnpm -C turbo -F @vm0/cli exec vitest run src/commands/zero/teams/tests/send.test.ts src/commands/zero/teams/tests/upload-file.test.ts src/tests/zero-capability-visibility.test.ts
  • pnpm -C turbo -F @vm0/api-contracts exec vitest run src/contracts/tests/composes.test.ts
  • pnpm -C turbo -F api check-types
  • pnpm -C turbo -F @vm0/cli check-types
  • pnpm -C turbo -F @vm0/api-contracts check-types
  • pnpm -C turbo -F @vm0/db check-types
  • pnpm -C turbo -F @vm0/app check-types
  • pnpm -C turbo -F api lint
  • pnpm -C turbo -F @vm0/cli lint
  • pnpm -C turbo -F @vm0/api-contracts lint
  • pnpm -C turbo -F @vm0/db lint
  • pnpm -C turbo -F @vm0/app lint
  • pnpm -C turbo knip --cache

Notes

  • Ran pnpm -C turbo -F @vm0/firewalls-generator generate after rebasing because the local generated firewall runtime loader was stale; it produced no tracked diff.
  • Local DB migration was drifted, so I manually applied the 0551 system storage presigned URL cache schema change to the local test database before running API tests.

@hulh122 hulh122 self-assigned this Jul 7, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in VM0 Kanban Jul 7, 2026
@github-actions github-actions Bot temporarily deployed to app/preview/feat/teams-cli-support July 7, 2026 07:20 Destroyed
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
5381 1 5380 10
View the top 1 failed test(s) by shortest run time
apps/cli/src/__tests__/zero.test.ts > zero CLI program > should have exactly 34 commands
Stack Traces | 0.00857s run time
AssertionError: expected [ 'org', 'model', …(33) ] to have a length of 34 but got 35

- Expected
+ Received

- 34
+ 35

 ❯ src/__tests__/zero.test.ts:74:26

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions github-actions Bot temporarily deployed to api/preview/feat/teams-cli-support July 7, 2026 07:22 Destroyed
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

API preview: https://pr-20489-api.vm6.ai

@hulh122 hulh122 force-pushed the feat/teams-cli-support branch from b48fbf0 to f6d521d Compare July 9, 2026 10:11
@github-actions github-actions Bot temporarily deployed to app/preview/feat/teams-cli-support July 9, 2026 10:13 Destroyed
@github-actions github-actions Bot temporarily deployed to api/preview/feat/teams-cli-support July 9, 2026 10:15 Destroyed
@hulh122 hulh122 force-pushed the feat/teams-cli-support branch from f6d521d to 5523949 Compare July 9, 2026 10:26
@github-actions github-actions Bot temporarily deployed to app/preview/feat/teams-cli-support July 9, 2026 10:28 Destroyed
@github-actions github-actions Bot temporarily deployed to api/preview/feat/teams-cli-support July 9, 2026 10:30 Destroyed
@hulh122 hulh122 force-pushed the feat/teams-cli-support branch from 5523949 to 0d0e998 Compare July 9, 2026 10:39
@github-actions github-actions Bot temporarily deployed to app/preview/feat/teams-cli-support July 9, 2026 10:41 Destroyed
@github-actions github-actions Bot temporarily deployed to api/preview/feat/teams-cli-support July 9, 2026 10:42 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant